package com.quancheng.component.requestformat.controller;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @author zhouchaoqun
 * @email zhouchaoqun@quancheng-ec.com
 * @created 2018/2/2 下午1:22
 */
@RestController
public class IndexController {
    @RequestMapping("/index")
    public Object index(@RequestBody(required = false) Map paramMap) {
        return paramMap;
    }
}
